import request from '@/utils/request'
//文件上传
export function postFileApi(file){
    const formData = new FormData();
    formData.append('file', file);
    return request({
        method:'post',
        url:'/img/upload',
        data: formData
    })
}